package cn.kbyue.demo.gatewaydemo.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author XL
 * @version 0.1
 * @date 2022/6/11 0:13
 */
@RestController
@RequestMapping("/index")
public class IndexController {

    @GetMapping("")
    public ResponseEntity<String> index() {
        return ResponseEntity.ok("success...");
    }

}
